package userRouter

import (
	"github.com/gin-gonic/gin"
	"system-admin/internal/controller"
)

func InitUserRouter(router *gin.Engine) {
	userController := controller.GetUserController()
	v1Group := router.Group("api/v1")
	userGroup := v1Group.Group("user")
	{
		userGroup.POST("register", userController.UserRegisterHandler)
		userGroup.POST("login", userController.UserLoginHandler)
		userGroup.GET("get-ranking-navigation-board", userController.UserRankingRegisterBoardHandler)
		userGroup.GET("get-redis", userController.SendMsg)

	}
}
